<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue3 Bouncing Ball Game</title>
    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f0f0f0;
        }
        #game {
            position: relative;
            width: 600px;
            height: 400px;
            border: 1px solid #ccc;
        }
        .ball {
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: red;
            border-radius: 50%;
        }
        .paddle {
            position: absolute;
            width: 100px;
            height: 10px;
            background-color: blue;
            bottom: 10px;
        }
    </style>
</head>
<body>
<div id="app">
    <div id="game">
        <div class="ball" :style="{ left: ballX + 'px', top: ballY + 'px' }"></div>
        <div class="paddle" :style="{ left: paddleX + 'px' }"></div>
    </div>
</div>
<script src="https://unpkg.com/vue@next"></script>
<script src="main.js"></script>
</body>
</html>
